# 默认目标
TARGETS = r w_1 w_2 w_3

all:$(TARGETS)

r:r.c
	gcc r.c -o r

w_1:w_1.c
	gcc w_1.c -o w_1

w_2:w_2.c
	gcc w_2.c -o w_2

w_3:w_3.c
	gcc w_3.c -o w_3

rm_out:
	rm -f $(TARGETS)